docs: don't use <para id="">
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 5 Feb 2014 01:21:05 +0000 (20:21 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 5 Feb 2014 01:21:05 +0000 (20:21 -0500)
gdk/gdkkeys.c
gdk/gdkwindow.c
gtk/gtkcssprovider.c
gtk/gtkfilechooser.c
gtk/gtkpagesetup.c
gtk/gtkstylecontext.c
gtk/gtkwidget.c

index 880d75dd00640d7e0dc394e15e4be88042c4e7c4..d7c1303c4cc58965d79b27e41268c9aa1925fbac 100644 (file)
@@ -57,7 +57,8 @@
  * When it makes sense, key values can be converted to and from
  * Unicode characters with gdk_keyval_to_unicode() and gdk_unicode_to_keyval().
  *
- * <para id="key-group-explanation">
+ * # Groups # {#key-group-explanation}
+ *
  * One #GdkKeymap object exists for each user display. gdk_keymap_get_default()
  * returns the #GdkKeymap for the default display; to obtain keymaps for other
  * displays, use gdk_keymap_get_for_display(). A keymap
@@ -78,7 +79,6 @@
  * group 0, a key might have two English characters, and in group 1 it might have
  * two Hebrew characters. The Hebrew characters will be printed on the key next to
  * the English characters.
- * </para>
  *
  * In order to use a keymap to interpret a key event, it's necessary to first
  * convert the keyboard state into an effective group and level. This is done via a
index 109b8434bd4e115ddb67d295e2774fba2816c5e7..65bcaa79c5285c8b98d42a4795e19879b15d37d3 100644 (file)
  * and so on; a #GtkWindow may contain many #GdkWindows. For example,
  * each #GtkButton has a #GdkWindow associated with it.
  *
- * ## Composited Windows
+ * # Composited Windows # {#COMPOSITED-WINDOWS}
  *
- * <para id="COMPOSITED-WINDOWS">Normally, the windowing system takes care of rendering the contents
+ * Normally, the windowing system takes care of rendering the contents
  * of a child window onto its parent window. This mechanism can be
  * intercepted by calling gdk_window_set_composited() on the child
  * window. For a “composited” window it is the
  * responsibility of the application to render the window contents at
- * the right spot.</para>
+ * the right spot.
  *
- * ## Offscreen Windows
+ * # Offscreen Windows # {#OFFSCREEN-WINDOWS}
  *
- * <para id="OFFSCREEN-WINDOWS">Offscreen windows are more general than composited windows, since
+ * Offscreen windows are more general than composited windows, since
  * they allow not only to modify the rendering of the child window onto
- * its parent, but also to apply coordinate transformations.</para>
+ * its parent, but also to apply coordinate transformations.
  *
  * To integrate an offscreen window into a window hierarchy, one has
  * to call gdk_offscreen_window_set_embedder() and handle a number of
index fb4947a0e8a0e92e1ccbcf54bfd5bd5615b66433..f00f22d047aa2bc8d33a765511a0096613f53cf2 100644 (file)
  * }
  * ]|
  *
- * ## Selectors
+ * # Selectors # {#gtkcssprovider-selectors}
  *
- * <para id="gtkcssprovider-selectors">Selectors work very similar to the way they do in CSS, with widget class
+ * Selectors work very similar to the way they do in CSS, with widget class
  * names taking the role of element names, and widget names taking the role
  * of IDs. When used in a selector, widget names must be prefixed with a
  * '&num;' character. The '*' character represents the so-called universal
- * selector, which matches any widget.</para>
+ * selector, which matches any widget.
  *
  * To express more complicated situations, selectors can be combined in
  * various ways:
index 909e60897dfd428196a4a336fb1f327cfcc6f148..3c1ed7542fbb86c2c3b7a12c46b47089dddba808 100644 (file)
@@ -91,8 +91,8 @@
  * gtk_file_chooser_set_preview_widget_active() with a boolean
  * flag that indicates whether your callback could successfully
  * generate a preview.
- * 
- * <para id="gtkfilechooser-preview">An example for using a  preview widget:</para>
+ *
+ * ## An example for using a preview widget ## {#gtkfilechooser-preview}
  * |[<!-- language="C" -->
  * {
  *   GtkImage *preview;
index fd003b282d372308bd1994c8e4a60bcef51f2adb..100d3fc6f675b2e1ba2faab2c640cff3ce9806c6 100644 (file)
  * these affect the actual layout of the page, and thus need to be set
  * long before user prints.
  *
- * <para id="print-margins">
+ * ## Margins ## {#print-margins}
  * The margins specified in this object are the "print margins", i.e. the
  * parts of the page that the printer cannot print on. These are different
  * from the layout margins that a word processor uses; they are typically
  * used to determine the minimal size for the layout
  * margins.
- * </para>
  *
  * To obtain a #GtkPageSetup use gtk_page_setup_new() to get the defaults,
  * or use gtk_print_run_page_setup_dialog() to show the page setup dialog
index b42dc64d81401333897e348b8543bc88b9ded728..552802bae6552b8528989d78312ae6369b5011b4 100644 (file)
@@ -75,7 +75,7 @@
  * #GtkSettings:gtk-theme-name setting or a hierarchy change in the rendered
  * widget.
  *
- * ## Transition animations
+ * # Transition animations
  *
  * #GtkStyleContext has built-in support for state change transitions.
  * Note that these animations respect the #GtkSettings:gtk-enable-animations
@@ -97,6 +97,7 @@
  * enumeration works well:
  *
  * An example for Using an enumeration to identify animatable regions:
+ *
  * |[<!-- language="C" -->
  * enum {
  *   REGION_ENTRY,
  * special value, in this case, the whole widget area will be updated
  * by the animation.
  *
- * ## Style classes and regions
+ * # Style classes and regions # {#gtkstylecontext-classes}
  *
- * <para id="gtkstylecontext-classes">Widgets can add style classes to their context, which can be used
+ * Widgets can add style classes to their context, which can be used
  * to associate different styles by class (see <xref linkend="gtkcssprovider-selectors"/>).
- * Theme engines can also use style classes to vary their rendering.</para>
+ * Theme engines can also use style classes to vary their rendering.
  *
  * Widgets can also add regions with flags to their context.
  * The regions used by GTK+ widgets are:
index 1c55a4a7bfa0ccde8a6f8d2af8fc8e4087f3525a..d8c46ec75ae4dcc10afffef0006b81f171d39da5 100644 (file)
  * GtkWidget is the base class all widgets in GTK+ derive from. It manages the
  * widget lifecycle, states and style.
  *
- * ## Height-for-width Geometry Management
+ * # Height-for-width Geometry Management # {#geometry-management}
  *
- * <para id="geometry-management">GTK+ uses a height-for-width (and width-for-height) geometry management
+ * GTK+ uses a height-for-width (and width-for-height) geometry management
  * system. Height-for-width means that a widget can change how much
  * vertical space it needs, depending on the amount of horizontal space
  * that it is given (and similar for width-for-height). The most common
  * example is a label that reflows to fill up the available width, wraps
- * to fewer lines, and therefore needs less height.</para>
+ * to fewer lines, and therefore needs less height.
  *
  * Height-for-width geometry management is implemented in GTK+ by way
  * of five virtual methods:
+ *
  * - #GtkWidgetClass.get_request_mode()
  * - #GtkWidgetClass.get_preferred_width()
  * - #GtkWidgetClass.get_preferred_height()
  * Here are some examples of how a %GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH widget
  * generally deals with width-for-height requests, for #GtkWidgetClass.get_preferred_height()
  * it will do:
+ *
  * |[<!-- language="C" -->
  * static void
  * foo_widget_get_preferred_height (GtkWidget *widget, gint *min_height, gint *nat_height)
  * compute width. Or when deciding how to use an allocation, the widget
  * may need to know its natural size. In these cases, the widget should
  * be careful to call its virtual methods directly, like this:
+ *
  * |[<!-- language="C" -->
  * GTK_WIDGET_GET_CLASS(widget)-&gt;get_preferred_width (widget),
  *                                  &min, &natural);